package com.ryskoo.common.dto.customer;

import com.ryskoo.common.constant.CustomerParamConstant;
import com.ryskoo.common.dto.BasicDTO;

public class CustomerDTO extends BasicDTO{

	private static final long serialVersionUID = 7303524605964481323L;

	/** 登录账号 */
    private String loginName;
    
    /** 登录密码 */
    private String password;
    
    /** 手机号 */
    private String mobile;
    
    /** 注册来源：1.PC注册  2.H5注册  3.APP注册  4.小程序注册  5.后台添加 */
    private String source;
    
    /** 账号状态：1激活 2冻结 */
    private String activeState;
    
    /** 邀请人 */
    private String inviterUuid;

    /** 邀请人昵称 */
    private String inviterName;

	/** 邀请人 */
	private String vendorId;
    
    /** 支付宝第三方登录码 */
    private String alipayCode;
    
    /** 微信 openid */
    private String openid;
    
    /** 微信 unionid */
    private String unionid;
    
    /** 微博第三方登录码 */
    private String weiboCode;
    
    /** QQ第三方登录码 */
    private String qqCode;
    
    /** 账号状态 - 中文名 */
    private String activeStateName;
    
    /** 注册来源 - 中文名 */
    private String sourceName;
    
    /** 会员数据信息 */
    private CustomerAccountDTO customerAccount;
    
    /** 是否发送短信通知 */
    private boolean sendMessage = false;
    
    /** 是否重置密码 */
    private boolean resetPassword = false;
    
	public boolean isSendMessage() {
		return sendMessage;
	}

	public void setSendMessage(boolean sendMessage) {
		this.sendMessage = sendMessage;
	}

	public boolean isResetPassword() {
		return resetPassword;
	}

	public void setResetPassword(boolean resetPassword) {
		this.resetPassword = resetPassword;
	}

	public String getLoginName() {
		return loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getSource() {
		return source;
	}

	public void setSource(String source) {
		this.source = source;
	}

	public String getActiveState() {
		return activeState;
	}

	public void setActiveState(String activeState) {
		this.activeState = activeState;
	}

	public String getInviterUuid() {
		return inviterUuid;
	}

	public void setInviterUuid(String inviterUuid) {
		this.inviterUuid = inviterUuid;
	}

	public String getAlipayCode() {
		return alipayCode;
	}

	public void setAlipayCode(String alipayCode) {
		this.alipayCode = alipayCode;
	}

	public String getVendorId() {
		return vendorId;
	}

	public void setVendorId(String vendorId) {
		this.vendorId = vendorId;
	}

	public String getOpenid() {
		return openid;
	}

	public void setOpenid(String openid) {
		this.openid = openid;
	}

	public String getUnionid() {
		return unionid;
	}

	public void setUnionid(String unionid) {
		this.unionid = unionid;
	}

	public String getWeiboCode() {
		return weiboCode;
	}

	public void setWeiboCode(String weiboCode) {
		this.weiboCode = weiboCode;
	}

	public String getQqCode() {
		return qqCode;
	}

	public void setQqCode(String qqCode) {
		this.qqCode = qqCode;
	}

	public String getSourceName() {
		return CustomerParamConstant.getSourceNameByKey(this.source);
	}

	public void setSourceName(String sourceName) {
		this.sourceName = sourceName;
	}

	public String getActiveStateName() {
		return CustomerParamConstant.getActiveStateNameByKey(this.activeState);
	}
	
	public void setActiveStateName(String activeStateName) {
		this.activeStateName = activeStateName;
	}

	public CustomerAccountDTO getCustomerAccount() {
		return customerAccount;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public void setCustomerAccount(CustomerAccountDTO customerAccount) {
		this.customerAccount = customerAccount;
	}

	public String getInviterName() {
		return inviterName;
	}

	public void setInviterName(String inviterName) {
		this.inviterName = inviterName;
	}
}